package com.sz.zhiling.controller;

import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/hi")
public class server2Controller {
    @RequestMapping("/server2/{msg}")
    public String testServer2(@PathVariable("msg") String msg){
        return "server2:"+msg;
    }
}
